package com.server.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.server.entity.UpmsRolePermission;
import com.server.util.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
/**
 * <p>
 * 角色权限关联表 服务类
 * </p>
 *
 * @author
 * @since 2020-04-03
 */
public interface IUpmsRolePermissionService extends IService<UpmsRolePermission> {

	/**
     * 新增
     * @param upmsrolepermission
     * @return
     * @author
     * @Date 2020-04-03
     */
    public Result add(UpmsRolePermission upmsrolepermission);

    /**
     * 批量删除
     * @param ids
     * @return
     * @author
     * @Date 2020-04-03
     */
    public Boolean delete(String ids);

    /**
     * 更新
     * @param upmsrolepermission
     * @return
     * @author
     * @Date 2020-04-03
     */
    public Result update(UpmsRolePermission upmsrolepermission);

    /**
     * 根据id查询列表
     * @param id
     * @return UpmsRolePermission
     * @author
     * @Date 2020-04-03
     */
    public UpmsRolePermission findById(String id);


    /**
     * 查询分页数据 
     * @param page
     * @return
     * @author
     * @Date 2020-04-03
     */
     public Result<List<UpmsRolePermission>> findPage(Page<UpmsRolePermission> page);


}
